import { PureComponent } from 'react'
import { Divider, Input, Select, Button } from 'antd'
import SingleTable from 'components/table/index'
import styles from './noMessage.less'
const { Option } = Select
export default class NoMessage extends PureComponent {
    render(){
        const dataList = []
        const columns = [
        {
            key: 'gmtCreate',
            title: '国内快递单号',
            dataIndex: 'gmtCreate',
            align: 'center',
        },
        {
            key: 'operationTypeName',
            title: '无信息单号',
            dataIndex: 'operationTypeName',
            align: 'center',
        },
        {
            key: 'creatorName',
            title: '转运单号',
            dataIndex: 'creatorName',
            align: 'center',
        },
        {
            key: '1',
            title: '会员号',
            dataIndex: 'gmtCreate',
            align: 'center',
        },
        {
            key: '2',
            title: '运单状态',
            dataIndex: 'operationTypeName',
            align: 'center',
        },
        {
            key: '3',
            title: '无信息单类型',
            dataIndex: 'creatorName',
            align: 'center',
        },
        {
            key: '4',
            title: '包件数',
            dataIndex: 'creatorName',
            align: 'center',
        },
        {
            key: '5',
            title: '实际重量(KG)',
            dataIndex: 'creatorName',
            align: 'center',
        },
        {
            key: '6',
            title: '体积物重',
            dataIndex: 'creatorName',
            align: 'center',
        },
        {
            key: '7',
            title: '创建时间',
            dataIndex: 'creatorName',
            align: 'center',
        },
        {
            key: '8',
            title: '操作',
            dataIndex: 'creatorName',
            align: 'center',
            render: (text, record) => (
                <span>
                  <a >编辑</a>
                  <Divider type="vertical" />
                  <a >删除</a>
                </span>
            ),
        },
        
        ]
        return(
            <div className={styles.noMessage}>
                <div className={styles.noMessageBox}>
                    <h2>无信息单</h2>
                </div>
                <div className={styles.noMessageSearch}>
                    <div className={styles.noMessageSin}>
                        <span className={styles.noMessageSpan}>无信息单号：</span>
                        <Input className={styles.noMessageInput}/>
                    </div>
                    <div className={styles.noMessageSin} style={{margin: '0 12px'}}>
                        <span className={styles.noMessageSpan}>国内快递单号：</span>
                        <Input className={styles.noMessageInput}/>
                    </div>
                    <div className={styles.noMessageSin} style={{marginRight: '12px'}}>
                        <span className={styles.noMessageSpan}>会员号：</span>
                        <Input className={styles.noMessageInput}/>
                    </div>
                    <div className={styles.noMessageSin}>
                        <span className={styles.noMessageSpan}>运单状态：</span>
                        <Select className={styles.noMessageInput}>
                            <Option value="lovely">Lovely</Option>
                        </Select>
                    </div>
                </div>
                <div className={styles.noMessageSearch}>
                    <div className={styles.noMessageSin}>
                        <span className={styles.noMessageSpan}>无信息单类型：</span>
                        <Select className={styles.noMessageInput}>
                            <Option value="lovely">Lovely</Option>
                        </Select>
                    </div>
                </div>
                <Button type="primary" icon="search" style={{margin: '0 0 24px 24px'}}>查询</Button>
                <div className={styles.noMessageTable}>
                    <SingleTable
                        data={{ list: dataList }}
                        columns={columns}
                    />
                </div> 
            </div>
        )
    }
}